home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Enlighten DSM 1.1
/
SGI EnlightenDSM 1.1.iso
/
sunos41x
/
events.z
/
events
/
policy
/
restart.sh
< prev
Wrap
Linux/UNIX/POSIX Shell Script
|
1998-06-30
|
291b
|
15 lines
#!/bin/sh
#
# Copyright (c) 1990-1998 Enlighten Software Solutions, Inc.
#
LOG=$ENLIGHTEN/agent/policy/$1.log
echo $* >> $LOG
case $4 in
NJ | died ) date >>$LOG
echo " " >>$LOG
$1 &
;;
# ignore new dbase's starting. Just restart one when it dies.
*) ;;
esac